package com.huan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huan.VO.AdminUserRouterVo;
import com.huan.domain.ResponseResult;
import com.huan.domain.entity.Menu;

import java.util.List;


/**
 * 菜单权限表(Menu)表服务接口
 *
 * @author makejava
 * @since 2023-06-24 08:29:03
 */
public interface MenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long id);

    AdminUserRouterVo selectRouterMenuTreeByUserId(Long id);

    ResponseResult mlist(String status, String menuName);

    ResponseResult addList(Menu menu);

    ResponseResult getMenu(Long id);

    ResponseResult udMenu(Menu menu);

    ResponseResult deleteMenu(Long menuId);

    ResponseResult getTreeMenu();
}

